<?php 
   /*Classe responsável por controlar o login*/

   include ("formulario.class.php");
   
   class Login{
      function logar(){
         $formulario = new Formulario();
         return $formulario->criarFormLogin();
      }//fim método logar
      
      function logout(){
         session_destroy();
      }//fim método logout
   }
?>